Carbon


CopyPixPat

Header: Quickdraw.h Carbon status: Supported

Copies the contents of one pixel pattern to another.

void CopyPixPat (
    PixPatHandle srcPP, 
    PixPatHandle dstPP
);
Parameter descriptions
srcPP

A handle to a source pixel pattern, the contents of which you want to copy.

dstPP

A handle to a destination pixel pattern, into which you want to copy the contents of the pixel pattern in the srcPP parameter.

DISCUSSION

The CopyPixPat function copies all of the fields in the source PixPat structure, including the contents of the data handle, expanded data handle, expanded map, pixel map handle, and color table.

Generally, your application should create a pixel pattern in a 'ppat' resource, instead of using this function.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)